﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace LCL
{
    /// <summary>
    /// L参数类 KV
    /// </summary>
    public class LParam
    {
        private string _key;
        private object _value;
        public string Key
        {
            get { return _key; }
        }
        public object Value
        {
            get
            { return _value; }
        }
        protected LParam(string name, object value)
        {
            this._key = name;
            this._value = value;
        }
        public static LParam Create(string name, object value)
        {
            return new LParam(name, value);
        }
        public override string ToString()
        {
            return Key;
        }
    }
}
